package net.maku.module.car.convert;

import net.maku.module.car.entity.UsedCarsEntity;
import net.maku.module.car.vo.UsedCarsVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_用车纪录
*
* @author    
*/
@Mapper
public interface UsedCarsConvert {
    UsedCarsConvert INSTANCE = Mappers.getMapper(UsedCarsConvert.class);

    UsedCarsEntity convert(UsedCarsVO vo);

    UsedCarsVO convert(UsedCarsEntity entity);

    List<UsedCarsVO> convertList(List<UsedCarsEntity> list);

}